<?php
namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Banners extends Model{

    protected $table = 'banners';
    public $timestamps = false;

    public function Banners(){
        return \DB::table($this->table)
            ->whereNull('deleted_at')
            ->select('id','title','url','s_id','target_url','status')
            ->get();
    }
}
